﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcCarConsume.Domain.Entites;

namespace MvcCarConsume.Domain
{
    public interface ICartService
    {
        bool CheckNumOfCars(int id, int count);
        bool SaveCartInfo(int id, int count, int days, string starttime, string UserName);
        Order[] GetOrdersByUsername(string Username);
        bool Pay4OrderById(int id);
        bool Pay();
        bool ReturnOrderById(int id);
        bool ReturnOrder();
        bool EditOrderById(int id);
        bool cancel(int id);
    }
}
